package com.okaixz.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.okaixz.client.model.domain.KbAssistant;
import com.okaixz.client.model.domain.KbUserAssistantInfo;
import com.okaixz.client.model.dto.KbUserAssistantAddAllDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cdz
 * @since 2025-05-26
 */
public interface IKbUserAssistantInfoService extends IService<KbUserAssistantInfo> {

    /**
     * 根据用户id和性别查询添加的标签，如果标签为空会自动添加标签
     * @param userId
     * @param sex
     * @return
     */
    List<KbUserAssistantInfo> getListbyUserId(String userId,Integer sex);


    List<KbUserAssistantInfo> add(KbUserAssistantInfo kbUserAssistantInfo);
    List<KbUserAssistantInfo> addList(List<KbUserAssistantInfo> list);

    List<KbUserAssistantInfo> delete(KbUserAssistantInfo kbUserAssistantInfo);

    List<KbUserAssistantInfo> deleteByIds(KbUserAssistantAddAllDto params);
}
